[INFO] fetching crate allium 0.1.2...
[INFO] building allium-0.1.2 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate allium 0.1.2 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate allium 0.1.2 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate allium 0.1.2
[INFO] finished tweaking crates.io crate allium 0.1.2
[INFO] tweaked toml for crates.io crate allium 0.1.2 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate crates.io crate allium 0.1.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9fea94ddbf47c047b80a945f3b91b8e9cdab66d7ef6e0bcc1d7f1edfcd0772a2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9fea94ddbf47c047b80a945f3b91b8e9cdab66d7ef6e0bcc1d7f1edfcd0772a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9fea94ddbf47c047b80a945f3b91b8e9cdab66d7ef6e0bcc1d7f1edfcd0772a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9fea94ddbf47c047b80a945f3b91b8e9cdab66d7ef6e0bcc1d7f1edfcd0772a2", kill_on_drop: false }`
[INFO] [stdout] 9fea94ddbf47c047b80a945f3b91b8e9cdab66d7ef6e0bcc1d7f1edfcd0772a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d39c10968f80c6cec3d712a85967bf1f8c84cf911836d5900c1ff72d6fffd5e4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d39c10968f80c6cec3d712a85967bf1f8c84cf911836d5900c1ff72d6fffd5e4", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling syn v1.0.44
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling cc v1.0.61
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling arc-swap v0.4.7
[INFO] [stderr]    Compiling ahash v0.4.6
[INFO] [stderr]    Compiling regex-syntax v0.6.20
[INFO] [stderr]    Compiling pin-project-lite v0.2.4
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling anyhow v1.0.33
[INFO] [stderr]    Compiling openssl v0.10.32
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling once_cell v1.5.2
[INFO] [stderr]    Compiling futures-core v0.3.6
[INFO] [stderr]    Compiling instant v0.1.7
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling tokio v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling aho-corasick v0.7.14
[INFO] [stderr]    Compiling openssl-sys v0.9.60
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling signal-hook-registry v1.2.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling mio v0.7.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling dlv-list v0.2.2
[INFO] [stderr]    Compiling regex v1.4.1
[INFO] [stderr]    Compiling ordered-multimap v0.3.0
[INFO] [stderr]    Compiling rust-ini v0.16.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling tokio-macros v1.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.21
[INFO] [stderr]    Compiling thiserror v1.0.21
[INFO] [stderr]    Compiling tokio-stream v0.1.3
[INFO] [stderr]    Compiling toml v0.5.7
[INFO] [stderr]    Compiling allium v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `trace`
[INFO] [stdout]  --> src/onion.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{debug, info, trace, warn};
[INFO] [stdout]   |                        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SIGNATURE_LEN`
[INFO] [stdout]   --> src/onion/crypto/crypto_openssl.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub(crate) const SIGNATURE_LEN: usize = 512;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `from_bytes`
[INFO] [stdout]    --> src/onion/crypto/crypto_openssl.rs:137:19
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub(crate) fn from_bytes(bytes: &[u8]) -> Result<Self> {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Destroy`
[INFO] [stdout]   --> src/onion/tunnel.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     Destroy,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/onion/circuit.rs:255:24
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 panic!(e)
[INFO] [stdout]     |                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 panic!("{}", e)
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 std::panic::panic_any(e)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/onion/circuit.rs:449:24
[INFO] [stdout]     |
[INFO] [stdout] 449 |                 panic!(e)
[INFO] [stdout]     |                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 449 |                 panic!("{}", e)
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 449 |                 std::panic::panic_any(e)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/onion.rs:283:25
[INFO] [stdout]     |
[INFO] [stdout] 283 |                         tunnel.write(data);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `id`
[INFO] [stdout]    --> src/daemon/protocol.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn id(&self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/allium_daemon.rs:295:25
[INFO] [stdout]     |
[INFO] [stdout] 295 |                         api_handler.handle().await;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 36.57s
[INFO] running `Command { std: "docker" "inspect" "d39c10968f80c6cec3d712a85967bf1f8c84cf911836d5900c1ff72d6fffd5e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d39c10968f80c6cec3d712a85967bf1f8c84cf911836d5900c1ff72d6fffd5e4", kill_on_drop: false }`
[INFO] [stdout] d39c10968f80c6cec3d712a85967bf1f8c84cf911836d5900c1ff72d6fffd5e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d78cf30061b14522511c1b7556c819190b26c5072019ceacde3431cb72d0e00c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d78cf30061b14522511c1b7556c819190b26c5072019ceacde3431cb72d0e00c", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `trace`
[INFO] [stdout]  --> src/onion.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{debug, info, trace, warn};
[INFO] [stdout]   |                        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `SIGNATURE_LEN`
[INFO] [stdout]   --> src/onion/crypto/crypto_openssl.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub(crate) const SIGNATURE_LEN: usize = 512;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `from_bytes`
[INFO] [stdout]    --> src/onion/crypto/crypto_openssl.rs:137:19
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub(crate) fn from_bytes(bytes: &[u8]) -> Result<Self> {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Destroy`
[INFO] [stdout]   --> src/onion/tunnel.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     Destroy,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling allium v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/onion/circuit.rs:255:24
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 panic!(e)
[INFO] [stdout]     |                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 panic!("{}", e)
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 std::panic::panic_any(e)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/onion/circuit.rs:449:24
[INFO] [stdout]     |
[INFO] [stdout] 449 |                 panic!(e)
[INFO] [stdout]     |                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout] help: add a "{}" format string to Display the message
[INFO] [stdout]     |
[INFO] [stdout] 449 |                 panic!("{}", e)
[INFO] [stdout]     |                        ^^^^^
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 449 |                 std::panic::panic_any(e)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/onion.rs:283:25
[INFO] [stdout]     |
[INFO] [stdout] 283 |                         tunnel.write(data);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `id`
[INFO] [stdout]    --> src/daemon/protocol.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn id(&self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/allium_daemon.rs:295:25
[INFO] [stdout]     |
[INFO] [stdout] 295 |                         api_handler.handle().await;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `anyhow` in this scope
[INFO] [stdout]   --> src/onion/tests.rs:93:18
[INFO] [stdout]    |
[INFO] [stdout] 93 |         _ => Err(anyhow!(
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            anyhow::anyhow
[INFO] [stdout]            crate::onion::anyhow
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `broadcast`
[INFO] [stdout]    --> src/onion/tests.rs:139:23
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let (evt_tx, _) = broadcast::channel(1);
[INFO] [stdout]     |                       ^^^^^^^^^ use of undeclared crate or module `broadcast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `broadcast`
[INFO] [stdout]    --> src/onion/tests.rs:185:23
[INFO] [stdout]     |
[INFO] [stdout] 185 |     let (evt_tx, _) = broadcast::channel(1);
[INFO] [stdout]     |                       ^^^^^^^^^ use of undeclared crate or module `broadcast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `broadcast`
[INFO] [stdout]    --> src/onion/tests.rs:224:34
[INFO] [stdout]     |
[INFO] [stdout] 224 |     let (events_tx, events_rx) = broadcast::channel(1);
[INFO] [stdout]     |                                  ^^^^^^^^^ use of undeclared crate or module `broadcast`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time`
[INFO] [stdout]    --> src/onion/tests.rs:235:17
[INFO] [stdout]     |
[INFO] [stdout] 235 |     let ready = time::timeout(ERROR_TIMEOUT, ready_rx)
[INFO] [stdout]     |                 ^^^^ use of undeclared crate or module `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time`
[INFO] [stdout]    --> src/onion/tests.rs:242:17
[INFO] [stdout]     |
[INFO] [stdout] 242 |     let delay = time::sleep(circuit::IDLE_TIMEOUT + ERROR_TIMEOUT);
[INFO] [stdout]     |                 ^^^^ use of undeclared crate or module `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Duration` in this scope
[INFO] [stdout]   --> src/onion/tests.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 | const ERROR_TIMEOUT: Duration = Duration::from_secs(4);
[INFO] [stdout]    |                      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::onion::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use tokio::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]   --> src/onion/tests.rs:12:33
[INFO] [stdout]    |
[INFO] [stdout] 12 | const ERROR_TIMEOUT: Duration = Duration::from_secs(4);
[INFO] [stdout]    |                                 ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::onion::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use tokio::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Duration` in this scope
[INFO] [stdout]   --> src/onion/tests.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | const ROUND_DURATION: Duration = Duration::from_secs(5);
[INFO] [stdout]    |                       ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::onion::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use tokio::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]   --> src/onion/tests.rs:13:34
[INFO] [stdout]    |
[INFO] [stdout] 13 | const ROUND_DURATION: Duration = Duration::from_secs(5);
[INFO] [stdout]    |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::onion::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use tokio::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope
[INFO] [stdout]   --> src/onion/tests.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 21 | async fn listen(listener: TcpListener, host_key: &RsaPrivateKey) -> Result<()> {
[INFO] [stdout]    |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::onion::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use tokio::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OnionSocket`
[INFO] [stdout]   --> src/onion/tests.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let socket = OnionSocket::new(stream);
[INFO] [stdout]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::onion::OnionSocket;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/onion/tests.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let host_key = Arc::new(host_key);
[INFO] [stdout]    |                    ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::onion::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stdout]   --> src/onion/tests.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let listener = TcpListener::bind(&peer_addr).await.unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::onion::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use tokio::net::TcpListener;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OnionListener`
[INFO] [stdout]    --> src/onion/tests.rs:134:28
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let mut listener = OnionListener::new(host_key, incoming_tx);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::onion::OnionListener;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stdout]    --> src/onion/tests.rs:135:28
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let tcp_listener = TcpListener::bind(peer_addr).await?;
[INFO] [stdout]     |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::onion::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use tokio::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes`
[INFO] [stdout]    --> src/onion/tests.rs:147:16
[INFO] [stdout]     |
[INFO] [stdout] 147 |     let data = Bytes::from_static(b"test");
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use bytes::Bytes;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::str::Bytes;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::onion::Bytes;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::io::Bytes;
[INFO] [stdout]     |
[INFO] [stdout]       and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes`
[INFO] [stdout]    --> src/onion/tests.rs:161:21
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let data_ping = Bytes::from_static(b"ping");
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use bytes::Bytes;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::str::Bytes;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::onion::Bytes;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::io::Bytes;
[INFO] [stdout]     |
[INFO] [stdout]       and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bytes`
[INFO] [stdout]    --> src/onion/tests.rs:162:21
[INFO] [stdout]     |
[INFO] [stdout] 162 |     let data_pong = Bytes::from_static(b"pong");
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use bytes::Bytes;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::str::Bytes;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::onion::Bytes;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::io::Bytes;
[INFO] [stdout]     |
[INFO] [stdout]       and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OnionListener`
[INFO] [stdout]    --> src/onion/tests.rs:166:28
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let mut listener = OnionListener::new(host_key, incoming_tx);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::onion::OnionListener;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stdout]    --> src/onion/tests.rs:167:28
[INFO] [stdout]     |
[INFO] [stdout] 167 |         let tcp_listener = TcpListener::bind(peer_addr).await?;
[INFO] [stdout]     |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::onion::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use tokio::net::TcpListener;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TunnelBuilder`
[INFO] [stdout]    --> src/onion/tests.rs:222:19
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let builder = TunnelBuilder::new(tunnel.id, Target::Peer(peers[1].clone()), 1, peer_provider);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/onion.rs:150:1
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub struct TunnelWriter {
[INFO] [stdout]     | ----------------------- similarly named struct `TunnelWriter` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let builder = TunnelWriter::new(tunnel.id, Target::Peer(peers[1].clone()), 1, peer_provider);
[INFO] [stdout]     |                   ^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::onion::TunnelBuilder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Target`
[INFO] [stdout]    --> src/onion/tests.rs:222:49
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let builder = TunnelBuilder::new(tunnel.id, Target::Peer(peers[1].clone()), 1, peer_provider);
[INFO] [stdout]     |                                                 ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::onion::Target;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TunnelHandler`
[INFO] [stdout]    --> src/onion/tests.rs:226:23
[INFO] [stdout]     |
[INFO] [stdout] 226 |     let mut handler = TunnelHandler::new(tunnel, builder, events_rx, ready_tx);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   | use crate::onion::TunnelHandler;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trace`
[INFO] [stdout]  --> src/onion.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{debug, info, trace, warn};
[INFO] [stdout]   |                        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `id`
[INFO] [stdout]    --> src/daemon/protocol.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn id(&self) -> u16 {
[INFO] [stdout]     |            ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/allium_daemon.rs:295:25
[INFO] [stdout]     |
[INFO] [stdout] 295 |                         api_handler.handle().await;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `poll` found for struct `Pin<&mut &mut Pin<&mut _>>` in the current scope
[INFO] [stdout]    --> src/onion/tests.rs:244:5
[INFO] [stdout]     |
[INFO] [stdout] 244 | /     tokio::select! {
[INFO] [stdout] 245 | |         _ = handler_task => Ok(()),
[INFO] [stdout] 246 | |         _ = &mut delay => {
[INFO] [stdout] 247 | |             panic!("No circuit destroyed the tunnel before timeout")
[INFO] [stdout] 248 | |         },
[INFO] [stdout] 249 | |     }
[INFO] [stdout]     | |_____^ method not found in `Pin<&mut &mut Pin<&mut _>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `fut` is a function, perhaps you wish to call it
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 25 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `allium`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "d78cf30061b14522511c1b7556c819190b26c5072019ceacde3431cb72d0e00c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d78cf30061b14522511c1b7556c819190b26c5072019ceacde3431cb72d0e00c", kill_on_drop: false }`
[INFO] [stdout] d78cf30061b14522511c1b7556c819190b26c5072019ceacde3431cb72d0e00c
